<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" 
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<p shiro:hasRole="admin">admin才能看到</p>
	<p shiro:hasRole="student">student才能看到</p>
</body>
</html>